package com.cgbl.cg.ui.mine

import android.os.Bundle
import android.widget.ImageView
import android.widget.TextView
import com.alibaba.android.arouter.facade.annotation.Route
import com.cgbl.cg.BR
import com.cgbl.cg.R
import com.cgbl.cg.databinding.AppActivityFeedbackBinding
import com.cgbl.cg.databinding.AppActivitySettingAccountBinding
import com.cgbl.cg.databinding.AppActivitySettingMessageBinding
import com.cgbl.cg.databinding.AppActivitySetttingBinding
import com.cgbl.cg.vm.mine.AccountSettingViewModel
import com.cgbl.cg.vm.mine.FeedbackViewModel
import com.cgbl.cg.vm.mine.MessageSettingViewModel
import com.cgbl.cg.vm.mine.SettingViewModel
import com.robot.base.base.activity.GLBaseActivity
import com.robot.base.configs.AppConstants

@Route(path = AppConstants.Router.Mine.A_MINE_FEEDBACK)
class FeedbackActivity :
    GLBaseActivity<AppActivityFeedbackBinding, FeedbackViewModel>() {

    override fun initComponents() {
        initTiterBar()
        initView()
    }

    override fun initViewObservable() {
    }


    private fun initTiterBar() {
        val titleView = findViewById<TextView>(R.id.tv_title)
        val backView = findViewById<ImageView>(R.id.iv_back)
        titleView.text = "问题反馈"
        backView.setOnClickListener { finish() }
    }

    private fun initView() {

    }

    override fun initContentView(savedInstanceState: Bundle?): Int =
        R.layout.app_activity_feedback

    override fun initVariableId(): Int = BR.viewModel
}